<template>
    <div class="">
        <h2>首页跳转-首页详情</h2>
        <p>{{ route.params.title }}</p>
    </div>
</template>

<script setup>
import { onMounted } from 'vue';
import { useRoute } from 'vue-router';
let route = useRoute()

onMounted(() => {
    console.log(route.params);
})
</script>

<style lang="less" scoped>

</style>
